﻿namespace LogNaga
{
	/// <summary>
	/// 用于负责记录的基类
	/// </summary>
	public abstract class Log
	{
		/// <summary>
		/// 防止被实例化
		/// </summary>
		protected Log(){}

		/// <summary>
		/// 将内容保存下来
		/// </summary>
		/// <param name="errorEntry"><see cref="errorEntry"/>实例</param>
		public abstract void Write(Error errorEntry);
	}
}
